package com.CloudDream.Gui;

import org.bukkit.entity.Player;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.InventoryHolder;
import org.bukkit.scheduler.BukkitTask;

import java.util.Map;

public class MYInventoryHolder implements InventoryHolder {

    private Inventory inv;
    private Player opener;
    private int type;
    private BukkitTask timer;
    private Map<Integer, Boolean> is_finish;


    public MYInventoryHolder(Player opener, int type) {
        this.opener = opener;
        this.type = type;
    }

    public Player getOpener() {
        return this.opener;
    }

    public int getType() {
        return this.type;
    }

    public Inventory getInventory() {
        return this.inv;
    }

    public void setInventory(Inventory inventory) {
        this.inv = inventory;
    }


}
